<!DOCTYPE HTML>
<!--
	Fractal by HTML5 UP
	html5up.net | @n33co
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
	<head>
		<title>Vysor</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link rel="stylesheet" href="/assets/css/main.css" />
		<script src='/protocolcheck.js'></script>
	</head>
	<body id="top">

		<!-- Header -->
			<header id="header">
				<div class="content">
					<h1><a href="#">Vysor</a></h1>
					<p class='instructions'>Thanks for your purchase.</p>
					<h5 class='instructions2'>Click Upgrade to Pro in the Vysor desktop or web application, and then click Retrieve License.</h5>
				</div>
				<div class="image phone"><div class="inner"><img src="/images/screen.png" alt="" /></div></div>
			</header>

		<!-- Footer -->
			<footer id="footer">
				<ul class="icons">
					<li><a href="https://twitter.com/vysorapp" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
				</ul>
				<p class="copyright">&copy; Vysor, Inc.</p>
			</footer>

		<!-- Scripts -->
			<script src="/assets/js/jquery.min.js"></script>
			<script src="/assets/js/jquery.scrolly.min.js"></script>
			<script src="/assets/js/skel.min.js"></script>
			<script src="/assets/js/util.js"></script>
			<script src="/assets/js/main.js"></script>

      <script>
        // $(document).ready(function() {
        //   if (window.location.toString().indexOf('purchase-complete') == -1) {
        //     // after a second, redirect to trigger vysor
        //     setTimeout(function() {
        //       var newLocation = window.location.toString().replace('/purchase/', '/purchase-complete/');
				// 			var customProtocol = 'ec-gidgenkbbabolejbgbpnhbimgjbffefm';
				// 			var customLocation = newLocation.replace(/^https/, customProtocol).replace(/^http/, customProtocol);
				// 			protocolCheck(customLocation, function() {
				// 				window.location = newLocation;
				// 			})

        //       // still here? vysor is installed!
        //       setTimeout(function() {
        //         $('.actions').hide();
        //         $('.instructions2').text("Vysor will open automatically to retrieve your license.");
        //       }, 5000);
        //     }, 1000)
        //   }
        // })
      </script>

	</body>
</html>
